package org.shj.dhsjjg.primarypath;

public class EdgeNode {

	private int adjvex; // 邻接点域，当前结点对应的下标
	private int weight; // 存储权值
	private EdgeNode next; // 指向下一个邻接点
	
	public EdgeNode(){}
	public EdgeNode(int adjvex, int weight){
		this.adjvex = adjvex;
		this.weight = weight;
	}

	public int getAdjvex() {
		return adjvex;
	}

	public void setAdjvex(int adjvex) {
		this.adjvex = adjvex;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public EdgeNode getNext() {
		return next;
	}

	public void setNext(EdgeNode next) {
		this.next = next;
	}

}
